package bookoperations;

import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-25
 * Time: 16:04
 */
public class ShowOperation implements IBookOperations{
    @Override
    public void work(BookList booklist) {
        int size = booklist.getUseSize();
        for (int i = 0; i < size; i++) {
            System.out.println(booklist.getBook(i).toString());
        }
    }
}
